package com.learn.springcloud.feignribbonconfigprovider.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Time : 2018/8/8 19:45
 * @Version : 1.0
 */
@RestController
public class FeignQuickStartProvider {

    @RequestMapping("/feign/quick/start/provider/say/hello/{name}")
    public String sayHello(@PathVariable String name){
        System.out.println(name);
        return "hello, " + name;
    }

}
